[INFO] cloning repository https://github.com/maxsnew/cargo-dot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxsnew/cargo-dot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 66e411929ac7c33817d838b3e651acac2e6b7690
[INFO] testing maxsnew/cargo-dot against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/maxsnew/cargo-dot on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/maxsnew/cargo-dot
[INFO] finished tweaking git repo https://github.com/maxsnew/cargo-dot
[INFO] tweaked toml for git repo https://github.com/maxsnew/cargo-dot written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/maxsnew/cargo-dot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git submodule `https://github.com/rust-lang/rust-installer.git`
[INFO] [stderr]     Updating git submodule `https://github.com/rust-lang/rust-installer`
[INFO] [stderr]     Updating git submodule `https://github.com/rust-lang/rust-installer`
[INFO] [stderr]     Updating git submodule `https://github.com/rust-lang/rust-installer`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/rust-lang/cargo`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strip-ansi-escapes v0.1.0
[INFO] [stderr]   Downloaded semver v0.10.0
[INFO] [stderr]   Downloaded serde_ignored v0.1.2
[INFO] [stderr]   Downloaded git2-curl v0.14.1
[INFO] [stderr]   Downloaded bytesize v1.0.1
[INFO] [stderr]   Downloaded im-rc v15.0.0
[INFO] [stderr]   Downloaded commoncrypto v0.2.0
[INFO] [stderr]   Downloaded crypto-hash v0.3.4
[INFO] [stderr]   Downloaded rustfix v0.5.1
[INFO] [stderr]   Downloaded shell-escape v0.1.5
[INFO] [stderr]   Downloaded utf8parse v0.1.1
[INFO] [stderr]   Downloaded commoncrypto-sys v0.2.0
[INFO] [stderr]   Downloaded opener v0.4.1
[INFO] [stderr]   Downloaded vte v0.3.3
[INFO] [stderr]   Downloaded sized-chunks v0.6.5
[INFO] [stderr]   Downloaded rustc-workspace-hack v1.0.0
[INFO] [stderr]   Downloaded dot v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 920458868fd95cc1003fbb0161447de94f787360b7b6f8b675f5be00068cf9f1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "920458868fd95cc1003fbb0161447de94f787360b7b6f8b675f5be00068cf9f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "920458868fd95cc1003fbb0161447de94f787360b7b6f8b675f5be00068cf9f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "920458868fd95cc1003fbb0161447de94f787360b7b6f8b675f5be00068cf9f1", kill_on_drop: false }`
[INFO] [stdout] 920458868fd95cc1003fbb0161447de94f787360b7b6f8b675f5be00068cf9f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d81af6f7cdc6b48034baefb4f8128394fca98fb780a6eadb8fd5b3aa19da4bbd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d81af6f7cdc6b48034baefb4f8128394fca98fb780a6eadb8fd5b3aa19da4bbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]    Compiling curl v0.4.36
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling utf8parse v0.1.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling rustc-workspace-hack v1.0.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling opener v0.4.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling bytesize v1.0.1
[INFO] [stderr]    Compiling home v0.5.3
[INFO] [stderr]    Compiling dot v0.1.4
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling im-rc v15.0.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling vte v0.3.3
[INFO] [stderr]    Compiling rand_xoshiro v0.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling strip-ansi-escapes v0.1.0
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]    Compiling filetime v0.2.14
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling tar v0.4.33
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling regex v1.5.3
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.62
[INFO] [stderr]    Compiling libz-sys v1.1.3
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.6+1.43.0
[INFO] [stderr]    Compiling curl-sys v0.4.42+curl-7.76.0
[INFO] [stderr]    Compiling libssh2-sys v0.2.21
[INFO] [stderr]    Compiling libgit2-sys v0.12.19+1.1.0
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling globset v0.4.6
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling ignore v0.4.17
[INFO] [stderr]    Compiling cargo v0.54.0 (https://github.com/rust-lang/cargo#29ea494f)
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling crypto-hash v0.3.4
[INFO] [stderr]    Compiling cargo-util v0.1.0 (https://github.com/rust-lang/cargo#29ea494f)
[INFO] [stderr]    Compiling git2 v0.13.18
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling git2-curl v0.14.1
[INFO] [stderr]    Compiling semver v0.10.0
[INFO] [stderr]    Compiling serde_ignored v0.1.2
[INFO] [stderr]    Compiling cargo-platform v0.1.1 (https://github.com/rust-lang/cargo#29ea494f)
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling docopt v1.1.1
[INFO] [stderr]    Compiling rustfix v0.5.1
[INFO] [stderr]    Compiling crates-io v0.33.0 (https://github.com/rust-lang/cargo#29ea494f)
[INFO] [stderr]    Compiling cargo-dot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `load_lockfile` in module `cargo::ops`
[INFO] [stdout]   --> src/main.rs:59:32
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let resolved = cargo::ops::load_lockfile(&lock_path, &src_id).unwrap()
[INFO] [stdout]    |                                ^^^^^^^^^^^^^ help: a function with a similar name exists: `load_pkg_lockfile`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/29ea494/src/cargo/ops/lockfile.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn load_pkg_lockfile(ws: &Workspace<'_>) -> CargoResult<Option<Resolve>> {
[INFO] [stdout]    | ---------------------------------------------------------------------------- similarly named function `load_pkg_lockfile` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(RustcDecodable, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope
[INFO] [stdout]   --> src/main.rs:46:46
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...                   .and_then(|d| d.decode())
[INFO] [stdout]    |                                       ^^^^^^ method not found in `Docopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 Some(crate_deps) => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ expected opaque type, found enum `Option`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/29ea494/src/cargo/core/resolver/resolve.rs:243:43
[INFO] [stdout]     |
[INFO] [stdout] 243 |     pub fn deps(&self, pkg: PackageId) -> impl Iterator<Item = (PackageId, &HashSet<Dependency>)> {
[INFO] [stdout]     |                                           ------------------------------------------------------- the expected opaque type
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected opaque type `impl Iterator`
[INFO] [stdout]                       found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 None => { }
[INFO] [stdout]     |                 ^^^^ expected opaque type, found enum `Option`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/29ea494/src/cargo/core/resolver/resolve.rs:243:43
[INFO] [stdout]     |
[INFO] [stdout] 243 |     pub fn deps(&self, pkg: PackageId) -> impl Iterator<Item = (PackageId, &HashSet<Dependency>)> {
[INFO] [stdout]     |                                           ------------------------------------------------------- the expected opaque type
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected opaque type `impl Iterator`
[INFO] [stdout]                       found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:104:48
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     let idl = self.find_or_add(crat);
[INFO] [stdout]     |                                                ^^^^
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                expected `&PackageId`, found struct `PackageId`
[INFO] [stdout]     |                                                help: consider borrowing here: `&crat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Cow<'_, str>: From<InternedString>` is not satisfied
[INFO] [stdout]    --> src/main.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         dot::Id::new(self.nodes[0].name()).unwrap_or(dot::Id::new("dependencies").unwrap())
[INFO] [stdout]     |         ^^^^^^^^^^^^ the trait `From<InternedString>` is not implemented for `Cow<'_, str>`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dot-0.1.4/src/lib.rs:394:22
[INFO] [stdout]     |
[INFO] [stdout] 394 |     pub fn new<Name: Into<Cow<'a, str>>>(name: Name) -> Result<Id<'a>, ()> {
[INFO] [stdout]     |                      ------------------ required by this bound in `Id::<'a>::new`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Cow<'a, CStr> as From<&'a CStr>>
[INFO] [stdout]               <Cow<'a, CStr> as From<&'a CString>>
[INFO] [stdout]               <Cow<'a, CStr> as From<CString>>
[INFO] [stdout]               <Cow<'a, OsStr> as From<&'a OsStr>>
[INFO] [stdout]             and 15 others
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Cow<'_, str>>` for `InternedString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Cow<'_, str>: From<InternedString>` is not satisfied
[INFO] [stdout]    --> src/main.rs:143:38
[INFO] [stdout]     |
[INFO] [stdout] 143 |             dot::LabelText::LabelStr(self.nodes[*i].name().into())
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<InternedString>` is not implemented for `Cow<'_, str>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Cow<'a, CStr> as From<&'a CStr>>
[INFO] [stdout]               <Cow<'a, CStr> as From<&'a CString>>
[INFO] [stdout]               <Cow<'a, CStr> as From<CString>>
[INFO] [stdout]               <Cow<'a, OsStr> as From<&'a OsStr>>
[INFO] [stdout]             and 15 others
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Cow<'_, str>>` for `InternedString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo-dot`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "d81af6f7cdc6b48034baefb4f8128394fca98fb780a6eadb8fd5b3aa19da4bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d81af6f7cdc6b48034baefb4f8128394fca98fb780a6eadb8fd5b3aa19da4bbd", kill_on_drop: false }`
[INFO] [stdout] d81af6f7cdc6b48034baefb4f8128394fca98fb780a6eadb8fd5b3aa19da4bbd
